package org.yate.oa.model;

import java.io.Serializable;
import java.util.Date;

import org.apache.ibatis.type.Alias;

@Alias(value = "OrgEntity")
public class OrgEntity implements Serializable {

	private Integer id;
	private Integer parentOrgId;
	private String orgName;
	private String description;
	private Integer managerId;
	private Date updateDate;
	private Date creationDate;
	
	public OrgEntity() {

	}

	public OrgEntity(Integer id, Integer parentOrgId, String orgName, String description) {
		this.id = id;
		this.parentOrgId = parentOrgId;
		this.orgName = orgName;
		this.description = description;
	}

	public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getParentOrgId() {
		return parentOrgId;
	}

	public void setParentOrgId(Integer parentOrgId) {
		this.parentOrgId = parentOrgId;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public Date getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

	public Integer getManagerId() {
		return managerId;
	}

	public void setManagerId(Integer managerId) {
		this.managerId = managerId;
	}
}
